package com.example.flashsales.service;

import com.example.flashsales.entity.vo.GoodsInventoryVo;

import java.util.List;

public interface GoodsInventoryService {

    //增加商品
    boolean addGoods(long goodsId,double count);


    //修改商品库存
    boolean updateCount(long goodsId,double count);

    //删除商品
    boolean deleteGoods(long goodsId);

    //查看商品库存
    List<GoodsInventoryVo> viewAllGoodsInventory();

    //查看某种商品
    GoodsInventoryVo viewGoodsInventory(long goodsId);
}
